<!-- Nav -->
<div class="navbar navbar-default">
  <div class="navbar-header">
    <a class="navbar-brand" href="/">cve-search</a>
  </div>
  <div class="container">
    <ul class="nav navbar-nav" style="display: table">
      <li><a href="/">Recent</a></li>
      <li><a href="/browse">Browse per vendor</a></li>
      <li><a href="/cwe">Browse CWEs</a></li>
      <li>
        <div class="col-sm-3">
          <form id="tfnewsearch" method="get" class="input-group navbar-form"onsubmit="redirect(); return false;">
            <input type="text" class="form-control input-sm" id="search" placeholder="Search CVE"  value="{{freetextsearch}}" />
            <span class="input-group-btn">
              <input type="submit" class="btn btn-default input-sm" value="search" />
            </span>
          </form>
        </div>
      </li>
    </ul>
    <ul class="nav navbar-nav navbar-right">
      <li><a class="navbar-nav pull-right" href="/admin">Admin</a></li>
      {% if current_user.is_authenticated() %}
        <li><a class="navbar-nav pull-right" href="/logout"><span class="glyphicon glyphicon-log-out"></span></a></li>
      {% endif %}
      </ul>
  </div>
</div>
<!-- End Nav -->
